<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<form:form method="POST" modelAttribute="stu">
<fieldset>
	<table
		style="width: 80%; margin-left: auto; margin-right: auto; border: 1px solid red;">
		<tr>
			<td>Student Name</td>
			<td>
				<table border="1">
					<tr>
						<td><form:input path="firstName" /></td>
						<td><form:input path="middleName" /></td>
						<td><form:input path="lastName" /></td>
					</tr>
				</table>
			</td>
			<td></td>
		</tr>
		<tr>
			<td>Date of Birth</td>
			<td><form:input path="dateOfBirth"/> </td>
			<td></td>
		</tr>
		<tr>
			<td>Email</td>
			<td><form:input path="emailId"/> </td>
			<td></td>
		</tr>
		<tr>
			<td>Mobile Number</td>
			<td><form:input path="mobileNumber"/> </td>
			<td></td>
		</tr>
		<tr>
			<td>Landline Number</td>
			<td><form:input path="landlineNumber"/> </td>
			<td></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" value="Register"/> </td>
			<td>&nbsp;</td>
		</tr>
	</table>
	</fieldset>
	</form:form>
</body>
</html>